<div>
	<select <?php echo $htmlOptions ?> name="<?php echo $params['name'] ?>">
		<?php foreach($params['options'] as $optionName => $optionValue) { ?>
		<option <?php if ($value == $optionValue) {echo 'selected';} ?> 
		name="<?php echo $this->txt2attr($optionName) ?>"><?php echo $this->txt2html($optionValue); ?></option>
		<?php } ?>
	</select>
</div>
